//
//  XHAVPlayerCell.m
//  testApp
//
//  Created by ColdMountain on 2016/12/4.
//  Copyright © 2016年 ColdMountain. All rights reserved.
//

#import "XHAVPlayerCell.h"

@implementation XHAVPlayerCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.ui_MB.hidden=YES;
    self.ui_progressView.hidden=YES;
    self.ui_cancel.hidden=YES;
    self.ui_title.font=[UIFont fontWithName:@"PingFangSC-Ultralight" size:18];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)goAction:(id)sender
{
    [_delegate cell:self runAction:sender];
//    _testString(@"我是block");
}
- (IBAction)downAction:(id)sender
{
    [_delegate cell:self downAction:sender];
}
- (IBAction)cancelAction:(id)sender
{
    [_delegate cell:self cancelAction:sender];
}

- (void)avPlayerBlock:(AVPlayerBlock)name
{
    self.name = name;
    self.name(@"我是谁");
}

@end
